home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / VBSamples / Media / fade.xtl < prev    next >
Text File  |  2001-10-08  |  2KB  |  40 lines

  1. <!-- This demonstrates changing audio volume over time to fade in a clip -->
  2. <!-- and how to fade one video from track to track, and do slo-mo video  -->
  3. <!-- and it also shows using an X-ray effect                             -->
  4.  
  5. <!-- NOTE: If you install the DirectX SDK to a path other than c:\dxsdk,  -->
  6. <!-- then you must change the media path for each clip src below.         -->
  7.  
  8. <timeline>
  9.   <group type="video" bitdepth="24">
  10.     <track>
  11.       <clip start="0" stop="20" src="c:\dxsdk\samples\multimedia\Media\lake2.jpg" mstart="0" stretchmode="PreserveAspectRatioNoLetterBox" framerate="0.000"/>  
  12.     </track>
  13.     <track>
  14.       <clip src="c:\dxsdk\samples\multimedia\Media\highway.avi" start="0" stop="20" mstart="0" mstop="7">
  15.       <effect clsid="{16B280C8-EE70-11D1-9066-00C04FD9189D}"    start="10" stop="15" >
  16.         <param name="XRay" value="1"/>
  17.              </effect>
  18.       </clip>        
  19.       <transition start="0" stop="20" clsid="{16B280C5-EE70-11D1-9066-00C04FD9189D}">
  20.           <param name="Progress" value="0.0">
  21.             <linear time="10"    value="1.0"/>
  22.             <linear time="20"    value="0.0"/>
  23.           </param>
  24.       </transition>
  25.     </track>
  26.   </group>
  27.   <group type="audio">
  28.     <track>
  29.       <clip src="c:\dxsdk\samples\multimedia\Media\track3.mp3" start="0" stop="20">
  30.         <effect clsid="{036A9790-C153-11d2-9EF7-006008039E37}" start="0" stop="20">
  31.           <param name="Vol"   value="0.0">
  32.             <linear time="10" value="1.0"/>
  33.             <linear time="20" value="0.0"/>
  34.           </param>
  35.         </effect>
  36.       </clip>
  37.     </track>
  38.   </group>
  39. </timeline>
  40.